import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";

export default defineConfig({
	plugins: [uni()],
	server: {
  		proxy: {
  			'/prod-api': {
  				target: 'http://124.126.110.166:21466',
  				changeOrigin: true,
				// rewrite:(path) => path.replace(/^\/prod-api/, "/prod-api")
  			},
  		}
  	}
});
